Document Solutions for PDF
GrapeCity.Documents.DX.Windows Assembly / GrapeCity.Documents.DX Namespace / ComObject Class / QueryInterfaceOrNull Method / QueryInterfaceOrNull<T>() Method

In This Topic
    QueryInterfaceOrNull<T>() Method
    In This Topic
    Query Interface for a particular interface support.
    Syntax
    'Declaration
     
    Public Overloads Overridable Function QueryInterfaceOrNull(Of T As ComObject)() As T
    public virtual T QueryInterfaceOrNull<T>()
    where T: ComObject

    Type Parameters

    T

    Return Value

    An instance of the queried interface or null if it is not supported
    See Also